package com.cicc.springboot.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import java.sql.Timestamp;

/**
 * @Description
 * @Author haida.yu
 * @Date 2024-10-10
 */

@Data
@NoArgsConstructor
@TableName("srm_file")
public class FileInfoEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @Column(name = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 文件名
     */
    @Column(name = "file_Name")
    private String fileName;

    /**
     * 文件路径
     */
    @Column(name = "file_Path")
    private String filePath;

    /**
     * 文件后缀名
     */
    @Column(name = "file_Extension")
    private String fileExtension;

    /**
     * 文件大小
     */
    @Column(name = "file_Size")
    private Double fileSize;

    /**
     * 上传时间
     */
    @Column(name = "uploadTime")
    private Timestamp uploadTime;

    /**
     * 附件id
     */
    @Column(name = "attachmentID")
    private String attachmentId;

}
